package io.renren.modules.order.entity;

import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

@TableName("tb_order")
public class OrderEntity {

    private int id;
    /**
     * 订单类型 课程 学习班
     */
    private String orderType;
    /**
     * 当前订单的id
     */
    private String orderId;
    /**
     * 实付金额
     */
    private String payment;
    /**
     * 支付类型 1为支付宝 2为微信 3为货到付款
     */
    private int paymentType;
    /**
     * 邮费
     */
    private String postFee;
    /**
     * 交易状态  未付款 已付款 未发货 已发货 交易成功 交易关闭
     */
    private String status;
    /**
     * 订单创建时间
     */
    private Date createTime;
    /**
     * 订单发货时间
     */
    private Date cosignTime;
    /**
     * 交易完成时间
     */
    private Date endTime;
    /**
     * 交易关闭时间
     */
    private Date closeTime;
    /**
     * 物流名称
     */
    private String shippingName;
    /**
     * 物流单号
     */
    private String shippingCode;
    /**
     * 用户id
     */
    private long userId;
    /**
     * 买家留言
     */
    private String buyerMessage;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public int getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(int paymentType) {
        this.paymentType = paymentType;
    }

    public String getPostFee() {
        return postFee;
    }

    public void setPostFee(String postFee) {
        this.postFee = postFee;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCosignTime() {
        return cosignTime;
    }

    public void setCosignTime(Date cosignTime) {
        this.cosignTime = cosignTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public String getShippingName() {
        return shippingName;
    }

    public void setShippingName(String shippingName) {
        this.shippingName = shippingName;
    }

    public String getShippingCode() {
        return shippingCode;
    }

    public void setShippingCode(String shippingCode) {
        this.shippingCode = shippingCode;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getBuyerMessage() {
        return buyerMessage;
    }

    public void setBuyerMessage(String buyerMessage) {
        this.buyerMessage = buyerMessage;
    }
}
